package showtime.framework.component.fms
{
	import flash.events.Event;

	/**
	 * @project FSM
	 * @date 2011-6-20
	 * @author 绿豆蛙
	 * 
	 */
	public class StateMachineEvent extends Event
	{
		public static const EXIT_CALLBACK:String = "EXIT_CALLBACK";
		public static const ENTER_CALLBACK:String = "ENTER_CALLBACK";
		public static const TRANSITION_COMPLETE:String = "TRANSITION_COMPLETE";
		public static const TRANSITION_DENIED:String = "TRANSITION_DENIED";
		
		public var fromState:String = null;
		public var toState:String = null;
		public var currentState:String = null;
		public var allowedStates:Object = null;
		
		public function StateMachineEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
		{
			super(type, bubbles, cancelable);
		}
	}
}